package entity;

public class Product {
    private String productId;//商品编号
    private String categoryId;//商品类别编号
    private String categoryName;//商品类别名称
    private String productName;//商品名称
    private String expiryDate;//保质期
    private String storageLocation;//存放位置
    private float purchasePrice;//进价
    private float salePrice;//售价
    private int stockQuantity;//库存数量
    private String productPicture;//商品照片

    public Product() {
    }

    public Product(String productId, String categoryId, String categoryName, String productName, String expiryDate, String storageLocation, float purchasePrice, float salePrice, int stockQuantity, String productPicture) {
        this.productId = productId;
        this.categoryId = categoryId;
        this.categoryName = categoryName;
        this.productName = productName;
        this.expiryDate = expiryDate;
        this.storageLocation = storageLocation;
        this.purchasePrice = purchasePrice;
        this.salePrice = salePrice;
        this.stockQuantity = stockQuantity;
        this.productPicture = productPicture;
    }

    public Product(String productId, String productName) {
        this.productId = productId;
        this.productName = productName;
    }


    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getCategoryId() {
        return categoryId;
    }

    public void setCategoryId(String categoryId) {
        this.categoryId = categoryId;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getProductName() {
        return productName;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getExpiryDate() {
        return expiryDate;
    }

    public void setExpiryDate(String expiryDate) {
        this.expiryDate = expiryDate;
    }

    public String getStorageLocation() {
        return storageLocation;
    }

    public void setStorageLocation(String storageLocation) {
        this.storageLocation = storageLocation;
    }

    public float getPurchasePrice() {
        return purchasePrice;
    }

    public void setPurchasePrice(float purchasePrice) {
        this.purchasePrice = purchasePrice;
    }

    public float getSalePrice() {
        return salePrice;
    }

    public void setSalePrice(float salePrice) {
        this.salePrice = salePrice;
    }

    public int getStockQuantity() {
        return stockQuantity;
    }

    public void setStockQuantity(int stockQuantity) {
        this.stockQuantity = stockQuantity;
    }

    public String getProductPicture() {
        return productPicture;
    }

    public void setProductPicture(String productPicture) {
        this.productPicture = productPicture;
    }
}
